package design_pattern.study.spring.test;

/**
 * @Author fb_li
 * @Date 2022/6/8 19:33
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void add() {
        System.out.println("userServiceImpl ...");
        userDao.add();
    }
}
